package pl.maciejziarko.mshare.persistence;

import pl.maciejziarko.mshare.domain.Resource;

/**
 * @author Maciej Ziarko
 */
public interface ResourceMapper {
    
    int insertResource(Resource resource);

    Resource selectResource(long id);
    
    int deleteAllResources();

    long selectResourcesCount();
}
